<?php
// +----------------------------------------------------------------------
// | [RhaPHP System] Copyright (c) 2017 http://www.rhaphp.com/
// +----------------------------------------------------------------------
// | [RhaPHP] 并不是自由软件,你可免费使用,未经许可不能去掉RhaPHP相关版权
// +----------------------------------------------------------------------
// | Author: Geeson <qimengkeji@vip.qq.com>
// +----------------------------------------------------------------------


namespace addons\hlapp\model;

use think\Db;
use think\Model;

class HlappProjectStatus extends Model
{
    public function project(){
        return $this->hasMany('HlappProject','statusId');
    }

    /**
     * 状态列表
     */
    public function statusList(){
        $mode = new HlappProjectStatus();
        return $mode->find();
    }
}